#!/bin/sh
for i in 1 2 3 4 5
	do
		echo $i
done

exit 0

su dung while

#!/bin/sh
i=1
while [ $i -le 5 ]
        do
                echo $i
                ((i++))
done

exit 0

chu y
#!/bin/sh
i=1
while [ $i -le 5 ]
        do
                echo $i
                i=$(($i+1))  # $i=$(($i+1)) =>sai vi cu biet the da
done

exit 0